package com.thinkfit.jy.serialport;

public class SportData {
    private int time;
    private int distance;
    private int calorie;
    private int counter;

    private int speed;
    private int resistance;
    private int incline;
    private int rpm;
    private int heartrate;
    private int power;

    public SportData() {

    }

    public SportData(int time, int distance, int calorie, int counter) {
        this.time = time;
        this.distance = distance;
        this.calorie = calorie;
        this.counter = counter;
    }

    public SportData(int speed, int resistance, int incline, int rpm, int heartrate, int power) {
        this.speed = speed;
        this.resistance = resistance;
        this.incline = incline;
        this.rpm = rpm;
        this.heartrate = heartrate;
        this.power = power;
    }

    public int getTime() {
        return time;
    }

    public void setTime(int time) {
        this.time = time;
    }

    public int getDistance() {
        return distance;
    }

    public void setDistance(int distance) {
        this.distance = distance;
    }

    public int getCalorie() {
        return calorie;
    }

    public void setCalorie(int calorie) {
        this.calorie = calorie;
    }

    public int getCounter() {
        return counter;
    }

    public void setCounter(int counter) {
        this.counter = counter;
    }

    public int getSpeed() {
        return speed;
    }

    public void setSpeed(int speed) {
        this.speed = speed;
    }

    public int getResistance() {
        return resistance;
    }

    public void setResistance(int resistance) {
        this.resistance = resistance;
    }

    public int getIncline() {
        return incline;
    }

    public void setIncline(int incline) {
        this.incline = incline;
    }

    public int getRpm() {
        return rpm;
    }

    public void setRpm(int rpm) {
        this.rpm = rpm;
    }

    public int getHeartrate() {
        return heartrate;
    }

    public void setHeartrate(int heartrate) {
        this.heartrate = heartrate;
    }

    public int getPower() {
        return power;
    }

    public void setPower(int power) {
        this.power = power;
    }
}
